ubuntu 18.04 安装gdb |
您所在的位置:网站首页 › ubuntu 安装gdb › ubuntu 18.04 安装gdb |
正点原子gdb安装教程文档 碰到的问题总结
1、
报错信息: WARNING: ‘makeinfo’ is missing on your system. You should only need it if you modified a ‘.texi’ file, or any other file indirectly affecting the aspect of the manual. You might want to install the Texinfo package: http://www.gnu.org/software/texinfo/ The spurious makeinfo call might also be the consequence of using a buggy ‘make’ (AIX, DU, IRIX), in which case you might want to install GNU make: http://www.gnu.org/software/make/ Makefile:486: recipe for target ‘gdb.info’ failed 解决方法: make distclean apt-get install texinfo 2、修改 /etc/profile 文件 修改 profile PATH 环境变量值 正点原子的示例: export PATH=/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin:/home/zuozhongkai/linux/IMX6ULL/tool/gdb/bin:$PATH本机Ubuntu18 原型的配置: export PATH=$PATH:/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin:需要添加的内容: /home/jk9/Linux/tool/gdb/bin最终添加配置结果 export PATH=$PATH:/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin:/home/jk9/Linux/tool/gdb/bin 3、(解决方法来之正点原子论坛)make CC=arm-linux-gnueabihf-gcc 少了添加配置的步骤 解决方法: cd gdb-9.1/gdb/gdbserver ./configure --target=arm-linux-gnueabihf --host=arm-linux-gnueabihf make CC=arm-linux-gnueabihf-gcc |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |